#ifndef DATADUMP_H
#define DATADUMP_H

#include <iostream>
#include "fstypes.h"
#include "ntfs.h"
#include "ntfsutils.h"

namespace ntfs {

class CDatadump
{
public:
    CDatadump(int cols = 0x20);
    void print(unsigned char* buf, int bufLen);
private:
    int mColInRow;
};

#endif // DATADUMP_H

void dumpBootBlock(PBOOT_BLOCK pBootBlock);
void dumpFileRec(CFileRecord& pFileRec, bool WithAttributes);
void dumpUSNArray(UINT16* pUSN, UINT16 count);
void dumpAttribute(CAttribute& pAttribute);
void dumpAttributeList(PATTRIBUTE_LIST attrList);

}  // namespace ntfs
